//
//  SectionCell.m
//  DemoRongCloud
//
//  Created by louyizhidu on 16/8/12.
//  Copyright © 2016年 louyizhidu. All rights reserved.
//

#import "SectionCell.h"
@implementation SectionCell
{
    SCselected selectedBlock;
}
- (void)awakeFromNib
{
    [super awakeFromNib];
    selectedBlock=^(){};
    // Initialization code
}

- (void)setSelected:(BOOL)selected
           animated:(BOOL)animated
{
    [super setSelected:selected
              animated:animated];
}
- (IBAction)scSelected:(UIButton *)sender
{
    
    self.scModel.scmExpansion=!self.scModel.scmExpansion;
    selectedBlock();

}

-(void)scSelectedInit:(SCselected)scSelected
{
    selectedBlock=[scSelected copy];
}
@end
